# -*- coding:utf-8 -*-
from role_config import slave_id


# kafka consumer
consumer_config = {
    'bootstrap.servers': '192.168.31.117:9092',
    'group.id': 'debug_consumer_group',
    'auto.offset.reset': 'earliest'
}

slave_producer_conf = {
    'bootstrap.servers': '192.168.31.117:9092',
}

# kafka topic
topic_name = 'queen-to-slave'

#database
DATABASE_URI = 'oracle://B2CIM:B2CIM1234@10.236.12.152:1521/B2MFGDB'

# Redis
redis_host = '192.168.31.117'
redis_port = 6379
redis_password = 'qweqwe'
db = 0
decode_responses = True

# iui config
iui_user = 'MFGRPA'

# server
server_ip = '10.234.139.103'
server_heartbeat_host = 4018

# slave
slave_id = slave_id
mission_type = 'test'

# picture
config_picture_path = r''